package cn.stylefeng.guns.sys.modular.system.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author jiangge
 * @since 2021-06-04
 */
@TableName("btya_business_sales_month")
public class BusinessSalesMonth implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    @TableField("shop_id")
    private Integer shopId;

    @TableField("shop_code")
    private String shopCode;

    @TableField("shop_name")
    private String shopName;

    @TableField("big_class_id")
    private Long bigClassId;

    /**
     * 创建人
     */
    @TableField("big_class_name")
    private String bigClassName;

    /**
     * 创建时间
     */
    @TableField("small_class_id")
    private Long smallClassId;

    /**
     * 更新人
     */
    @TableField("small_class_name")
    private String smallClassName;

    /**
     * 更新时间
     */
    @TableField("item_code")
    private String itemCode;

    /**
     * 月份
     */
    @TableField("item_id")
    private Long itemId;

    @TableField("item_name")
    private String itemName;

    @TableField("unit_name")
    private String unitName;

    @TableField("std_price")
    private BigDecimal stdPrice;

    @TableField("p_name")
    private String pName;

    @TableField("size_name")
    private String sizeName;

    @TableField("size_id")
    private Long sizeId;

    @TableField("last_qty")
    private BigDecimal lastQty;

    @TableField("orig_money")
    private BigDecimal origMoney;

    /**
     * 月份
     */
    @TableField("month_date")
    private String monthDate;

    /**
     * 创建人
     */
    @TableField(value = "create_user", fill = FieldFill.INSERT)
    private Long createUser;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 更新人
     */
    @TableField(value = "update_user", fill = FieldFill.UPDATE)
    private Long updateUser;

    /**
     * 更新时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public String getShopCode() {
        return shopCode;
    }

    public void setShopCode(String shopCode) {
        this.shopCode = shopCode;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public Long getBigClassId() {
        return bigClassId;
    }

    public void setBigClassId(Long bigClassId) {
        this.bigClassId = bigClassId;
    }

    public String getBigClassName() {
        return bigClassName;
    }

    public void setBigClassName(String bigClassName) {
        this.bigClassName = bigClassName;
    }

    public Long getSmallClassId() {
        return smallClassId;
    }

    public void setSmallClassId(Long smallClassId) {
        this.smallClassId = smallClassId;
    }

    public String getSmallClassName() {
        return smallClassName;
    }

    public void setSmallClassName(String smallClassName) {
        this.smallClassName = smallClassName;
    }

    public String getItemCode() {
        return itemCode;
    }

    public void setItemCode(String itemCode) {
        this.itemCode = itemCode;
    }

    public Long getItemId() {
        return itemId;
    }

    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public BigDecimal getStdPrice() {
        return stdPrice;
    }

    public void setStdPrice(BigDecimal stdPrice) {
        this.stdPrice = stdPrice;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public String getSizeName() {
        return sizeName;
    }

    public void setSizeName(String sizeName) {
        this.sizeName = sizeName;
    }

    public Long getSizeId() {
        return sizeId;
    }

    public void setSizeId(Long sizeId) {
        this.sizeId = sizeId;
    }

    public BigDecimal getLastQty() {
        return lastQty;
    }

    public void setLastQty(BigDecimal lastQty) {
        this.lastQty = lastQty;
    }

    public BigDecimal getOrigMoney() {
        return origMoney;
    }

    public void setOrigMoney(BigDecimal origMoney) {
        this.origMoney = origMoney;
    }

    public String getMonthDate() {
        return monthDate;
    }

    public void setMonthDate(String monthDate) {
        this.monthDate = monthDate;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "BusinessSalesMonth{" +
        "id=" + id +
        ", shopId=" + shopId +
        ", shopCode=" + shopCode +
        ", shopName=" + shopName +
        ", bigClassId=" + bigClassId +
        ", bigClassName=" + bigClassName +
        ", smallClassId=" + smallClassId +
        ", smallClassName=" + smallClassName +
        ", itemCode=" + itemCode +
        ", itemId=" + itemId +
        ", itemName=" + itemName +
        ", unitName=" + unitName +
        ", stdPrice=" + stdPrice +
        ", pName=" + pName +
        ", sizeName=" + sizeName +
        ", sizeId=" + sizeId +
        ", lastQty=" + lastQty +
        ", origMoney=" + origMoney +
        ", monthDate=" + monthDate +
        ", createUser=" + createUser +
        ", createTime=" + createTime +
        ", updateUser=" + updateUser +
        ", updateTime=" + updateTime +
        "}";
    }
}
